﻿@using EcBlog.Models
@model EcBlog.Models.Page
@{
   ViewBag.Title = Model.Title;
   ViewBag.Description = Model.Summary;
   Layout = Model.Layout.LayoutPath ;
}
<ol id="posts-list">
       <li>
   <article class="hentry">  
       @Html.Partial("_PostHeader", new PostHeaderViewModel { Page = Model })
       @Html.Raw(Model.ContentHtml)
       @Html.Partial("_PostFooter", new PostFooterViewModel { Page= Model, ShowComments=true, ShowAddNewCommentPanel=true})
   </article>  
   </li>
</ol>
@section nav{
   @Html.Partial("_Navigation")
}
@section header{
   @Html.Partial("_Header")
}
@section extra{
   @Html.Partial("_Extra")
}
@section footer{
   @Html.Partial("_Footer")
}
@section head{
   @Html.Partial("_Head")
}